<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html lang="zh">
<%@include file="/lyear/common/head.jsp" %>


<%--  <link href="${pageContext.request.contextPath}/adminex/css/style.css" rel="stylesheet">--%>
<link href="${pageContext.request.contextPath}/adminex/css/style-responsive.css" rel="stylesheet">

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="${pageContext.request.contextPath}/adminex/js/html5shiv.js"></script>
  <script src="${pageContext.request.contextPath}/adminex/js/respond.min.js"></script>
  <![endif]-->
</head>

<body class="sticky-header">

<section>


    <!--页面主要内容-->

    <div class="container-fluid">

        <div class="row">
            <div class="card-header">
                <h3>
                    项目展示 <small>Project display</small>
                </h3>
                <div class="card-toolbar clearfix" style="position: relative;right: 10px">
                    <%--                        <form class="pull-right search-bar" method="get"--%>
                    <%--                              action="${pageContext.request.contextPath}/user/getUserByCondition/1/10" role="form">--%>
                    <%--                            <div class="input-group">--%>
                    <%--                                <div class="input-group-btn">--%>
                    <%--                                    <input type="hidden" name="searchKey" id="search_key" value="nickname">--%>
                    <%--                                    <button class="btn btn-default dropdown-toggle" id="search-btn"--%>
                    <%--                                            data-toggle="dropdown" type="button" aria-haspopup="true"--%>
                    <%--                                            aria-expanded="false" placeholder="昵称">--%>
                    <%--                                        &lt;%&ndash;                                                <c:if test="${searchKey==''}">&ndash;%&gt;--%>
                    <%--                                        <div id="search-default">昵称</div>--%>
                    <%--                                        &lt;%&ndash;                                                </c:if>&ndash;%&gt;--%>
                    <%--                                        <c:if test="${searchKey=='nickname'}">--%>
                    <%--                                            昵称 <span h="nickname"></span>--%>
                    <%--                                        </c:if>--%>
                    <%--                                        <c:if test="${searchKey=='account'}">--%>
                    <%--                                            登录名 <span h="account"></span>--%>
                    <%--                                        </c:if>--%>
                    <%--                                        <c:if test="${searchKey=='tel'}">--%>
                    <%--                                            电话 <span h="tel"></span>--%>
                    <%--                                        </c:if>--%>
                    <%--                                    </button>--%>
                    <%--                                    <ul class="dropdown-menu">--%>
                    <%--                                        <li><a tabindex="-1" href="javascript:void(0)" data-field="nickname">昵称</a></li>--%>
                    <%--                                        <li><a tabindex="-1" href="javascript:void(0)" data-field="account">登录名</a></li>--%>
                    <%--                                        <li><a tabindex="-1" href="javascript:void(0)" data-field="tel">电话</a></li>--%>
                    <%--                                    </ul>--%>
                    <%--                                </div>--%>
                    <%--                                <input type="text" class="form-control" id="search-value" value="${searchValue}"--%>
                    <%--                                       name="searchValue" placeholder="请输入" onkeydown="selectUserByCondition()">--%>
                    <%--                            </div>--%>
                    <%--                        </form>--%>
                </div>
            </div>
            <c:forEach items="${pageBean.result}" var="proj">
                <div class="col-lg-6" style="width: 380px">
                    <div class="card">
                        <div class="card-header"><h4>项目名称</h4></div>
                        <div class="card-body">
                            <img src="${pageContext.request.contextPath}/lyear/images/img-slide-5.jpg" alt="">
                        </div>
                    </div>
                </div>
            </c:forEach>


            <div class="col-lg-6" style="width: 380px;">
                <div class="card">
                    <div class="card-header" style="background-color: #91afaa"><h4>项目名称${proj.name}</h4></div>
                    <div class="card-body">
                        <a href="http://www.baidu.com"><img
                                src="${pageContext.request.contextPath}/lyear/images/img-slide-5.jpg" alt="">
                        </a>
                    </div>
                    <div class="card-footer">项目简介${proj.info}</div>
                </div>
            </div>


        </div>

    </div>
    <!--End 页面主要内容-->
</section>

<!-- Placed js at the end of the document so the pages load faster -->
<script src="${pageContext.request.contextPath}/adminex/js/jquery-1.10.2.min.js"></script>
<script src="${pageContext.request.contextPath}/adminex/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="${pageContext.request.contextPath}/adminex/js/jquery-migrate-1.2.1.min.js"></script>
<script src="${pageContext.request.contextPath}/adminex/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/adminex/js/modernizr.min.js"></script>
<script src="${pageContext.request.contextPath}/adminex/js/jquery.nicescroll.js"></script>


<!--common scripts for all pages-->
<script src="${pageContext.request.contextPath}/adminex/js/scripts.js"></script>

</body>
</html>